<!-- 回复主题帖，使用ckeditor作为在线文本编辑器 -->

<%@page pageEncoding="UTF-8" %>

<%
int id = Integer.parseInt(request.getParameter("id"));
int rootId = Integer.parseInt(request.getParameter("rootId"));
%>

<!DOCTYPE html>
<!--
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
-->
<html>
<head>
	<meta charset="utf-8">
	<title>Replace Textareas by Class Name &mdash; CKEditor Sample</title>
	<script src="ckeditor/ckeditor.js"></script>
	<link rel="stylesheet" href="ckeditor/samples/sample.css">
</head>
<body>
	<form action="reply_detail.jsp" method="post">
		<input type="hidden" name="pid" value="<%=id %>" />
		<input type="hidden" name="rootId" value="<%=rootId  %>" />
		<p>
			<label>
				请输入标题：
			</label>
			<input type="text" name="title" /><br>
			
			<label for="editor1">
				请输入回复内容：
			</label>
			<textarea class="ckeditor" cols="80" id="editor1" name="cont" rows="10"></textarea>
		</p>
		<p>
			<input type="submit" value="Submit">
		</p>
	</form>
	<div id="footer">
		<hr>
		<p>
			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
		</p>
		<p id="copy">
			Copyright &copy; 2003-2015, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
			Knabben. All rights reserved.
		</p>
	</div>
</body>
</html>
